package com.ft.turorial.spring.boot.service;

import java.util.List;

import com.ft.turorial.spring.boot.domain.User;

public interface UserService {
	User save(User user);
	User saveSelective(User user);
	
	User findOne(int id);
	User findByLoginName(String loginName);
	List<User> findAll();
	User findLikeName(String name);
	
	int delete(int id);
	
	int update(User user);
	int updateSelective(User user);
}
